import request from "@/api/request";
import {
    GET_FRIEND_GROUP_APPLY_API,
    GET_NEW_DYNAMIC_FRIEND_NUM_API
} from "@/api/api_constant";

export const getFriendAndGroupApply = async (to_id) => {
     return await request.get(GET_FRIEND_GROUP_APPLY_API,{
         params:{
             to_id
         }
     })
}

export const getDynamicCount = async (_id) => {
    return await request.get(GET_NEW_DYNAMIC_FRIEND_NUM_API,{
        params:{
            _id
        }
    })
}
